package icu.qx.gbs.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 物品单位对象 gbs_good_unit
 *
 * @author ruoyi
 * @date 2024-06-06
 */
public class GbsGoodUnit extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long guId;

    /**
     * 主单位id
     */
    @Excel(name = "主单位id")
    private Long guFid;

    /**
     * 换算比例
     */
    @Excel(name = "换算比例")
    private String guConvertRate;

    /**
     * 单位名
     */
    @Excel(name = "单位名")
    private String guName;

    /**
     * 状态 0禁用 1启用
     */
    @Excel(name = "状态 0禁用 1启用")
    private String guStatus;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String guDesc;

    public void setGuId(Long guId) {
        this.guId = guId;
    }

    public Long getGuId() {
        return guId;
    }

    public void setGuFid(Long guFid) {
        this.guFid = guFid;
    }

    public Long getGuFid() {
        return guFid;
    }

    public void setGuConvertRate(String guConvertRate) {
        this.guConvertRate = guConvertRate;
    }

    public String getGuConvertRate() {
        return guConvertRate;
    }

    public void setGuName(String guName) {
        this.guName = guName;
    }

    public String getGuName() {
        return guName;
    }

    public void setGuStatus(String guStatus) {
        this.guStatus = guStatus;
    }

    public String getGuStatus() {
        return guStatus;
    }

    public void setGuDesc(String guDesc) {
        this.guDesc = guDesc;
    }

    public String getGuDesc() {
        return guDesc;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("guId", getGuId())
                .append("guFid", getGuFid())
                .append("guConvertRate", getGuConvertRate())
                .append("guName", getGuName())
                .append("guStatus", getGuStatus())
                .append("guDesc", getGuDesc())
                .toString();
    }
}
